/**
 * 
 */
package com.kahweh.ngphoto.fetcher;

import com.google.appengine.repackaged.org.joda.time.DateTime;

/**
 * @author kahweh
 *
 */
public class FetcherFactory {

	private static DateTime markDate = new DateTime(2009, 1, 1, 0, 0, 0, 0);
	/**
	 * 
	 */
	public FetcherFactory() {
	}

	public static PodFetcher getPodFetcher(DateTime date) {
		PodFetcher fetcher = null;
		
		if (date.isBefore(markDate)) {
			fetcher = new OldPodFetcher();
		} else {
			fetcher = new NewPodFetcher();
		}

		return fetcher;
	}
}
